package com.macro.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 一级菜单栏
 */
@Data
public class SysFunction implements Serializable {

    //一级菜单编号
    @TableId("functionid")
    private Integer functionid;

    //一级菜单名称
    private String functionname;

    //一级菜单图标
    private String icon;

    //角色编号
    @JSONField(serialize = false)
    private Integer roleid;

    //二级菜单详细表
    private List<SysFunDetail> levenSecondMenu;

}
